package com.fangzhi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.fangzhi.mapper")
@SpringBootApplication
@EnableScheduling  // 开启定时任务
public class FangZhiApplication {

    public static void main(String[] args) {
        SpringApplication.run(FangZhiApplication.class, args);
    }

}
